<!DOCTYPE html>

<html lang="en">
<head>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width">
	<title>Documentation Class: BulletScreenEngine</title>

	<!--[if lt IE 9]>
	<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
	<![endif]-->
	<link type="text/css" rel="stylesheet" href="styles/sunlight.default.css">

	<link type="text/css" rel="stylesheet" href="styles/site.simplex.css">

</head>

<body>

<div class="navbar navbar-default navbar-fixed-top ">
<div class="container">
	<div class="navbar-header">
		<a class="navbar-brand" href="index.html">Documentation</a>
		<button class="navbar-toggle" type="button" data-toggle="collapse" data-target="#topNavigation">
			<span class="icon-bar"></span>
			<span class="icon-bar"></span>
			<span class="icon-bar"></span>
        </button>
	</div>
	<div class="navbar-collapse collapse" id="topNavigation">
		<ul class="nav navbar-nav">
			
			<li class="dropdown">
				<a href="namespaces.list.html" class="dropdown-toggle" data-toggle="dropdown">Namespaces<b class="caret"></b></a>
				<ul class="dropdown-menu ">
					<li><a href="openBSE.html">openBSE</a></li>
				</ul>
			</li>
			
			<li class="dropdown">
				<a href="classes.list.html" class="dropdown-toggle" data-toggle="dropdown">Classes<b class="caret"></b></a>
				<ul class="dropdown-menu ">
					<li><a href="openBSE.BrowserNotSupportError.html">openBSE.BrowserNotSupportError</a></li><li><a href="openBSE.BulletScreenEngine.html">openBSE.BulletScreenEngine</a></li><li><a href="openBSE.Contextmenu.html">openBSE.Contextmenu</a></li>
				</ul>
			</li>
			
			<li class="dropdown">
				<a href="events.list.html" class="dropdown-toggle" data-toggle="dropdown">Events<b class="caret"></b></a>
				<ul class="dropdown-menu ">
					<li><a href="openBSE.BulletScreenEngine.html#event:click">openBSE.BulletScreenEngine#event:click</a></li><li><a href="openBSE.BulletScreenEngine.html#event:contextmenu">openBSE.BulletScreenEngine#event:contextmenu</a></li><li><a href="openBSE.BulletScreenEngine.html#event:mouseenter">openBSE.BulletScreenEngine#event:mouseenter</a></li><li><a href="openBSE.BulletScreenEngine.html#event:mouseleave">openBSE.BulletScreenEngine#event:mouseleave</a></li>
				</ul>
			</li>
			
		</ul>
        
            <div class="col-sm-3 col-md-3">
                <form class="navbar-form" role="search">
                    <div class="input-group">
                        <input type="text" class="form-control" placeholder="Search" name="q" id="search-input">
                        <div class="input-group-btn">
                            <button class="btn btn-default" id="search-submit"><i class="glyphicon glyphicon-search"></i></button>
                        </div>
                    </div>
                </form>
            </div>
        
	</div>

</div>
</div>


<div class="container" id="toc-content">
<div class="row">

	
	<div class="col-md-8">
	
		<div id="main">
			

	<h1 class="page-title">Class: BulletScreenEngine</h1>
<section>

<header>
    
        <h2>
            <span class="ancestors"><a href="openBSE.html">openBSE</a>.</span>
        
        BulletScreenEngine
        </h2>
        
            <div class="class-description">弹幕引擎对象类</div>
        
    
</header>


<article>
    <div class="container-overview">
    
        
<hr>
<dt>
    <h4 class="name" id="BulletScreenEngine"><span class="type-signature"></span>new BulletScreenEngine(element [, _options] [, renderMode])</h4>
    
    
</dt>
<dd>

    
    <div class="description">
        创建一个弹幕引擎对象。
    </div>
    

    

    

    
    
        <h5>Parameters:</h5>
        

<table class="params table table-striped">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        
        <th>Argument</th>
        

        
        <th>Default</th>
        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>element</code></td>
            

            <td class="type">
            
                
<span class="param-type">Element</span>



            
            </td>

            
                <td class="attributes">
                

                

                
                </td>
            

            
                <td class="default">
                
                </td>
            

            <td class="description last">要加载弹幕的元素：有关 Element 接口的信息请参阅MDN <a href="https://developer.mozilla.org/zh-CN/docs/Web/API/Element">Element</a> 。</td>
        </tr>

    

        <tr>
            
                <td class="name"><code>_options</code></td>
            

            <td class="type">
            
                
<span class="param-type"><a href="openBSE.html#~Options">openBSE~Options</a></span>



            
            </td>

            
                <td class="attributes">
                
                    &lt;optional><br>
                

                

                
                </td>
            

            
                <td class="default">
                
                </td>
            

            <td class="description last">全局选项：一个 <a href="openBSE.html#~Options">openBSE~Options</a> 结构。</td>
        </tr>

    

        <tr>
            
                <td class="name"><code>renderMode</code></td>
            

            <td class="type">
            
                
<span class="param-type">string</span>



            
            </td>

            
                <td class="attributes">
                
                    &lt;optional><br>
                

                

                
                </td>
            

            
                <td class="default">
                
                    "canvas"
                
                </td>
            

            <td class="description last">渲染模式：默认为“canvas”, “可选css3”， “webgl”和“svg”。一般建议使用“canvas”（特别是 FireFox 浏览器 CSS3 渲染效率较低）。在一些版本较老的浏览器中“window.devicePixelRatio”变量不被支持或支持不完整，这会导致在高DPI和页面被缩放的情况下“canvas”和“webgl”渲染模式弹幕显示不正常的情况（弹幕模糊），此时建议使用“css3”渲染模式。</td>
        </tr>

    
    </tbody>
</table>

    

    
<dl class="details">
    

	

	

	

    

    

    

    

	

	

	

	

	



	

	

	

	
</dl>


    

    

    

    

    
    <h5>Throws:</h5>
    <ul>
            <li>

<dl>
    <dt>
        <div class="param-desc">
        浏览器不支持特定渲染模式时引发错误。
        </div>
    </dt>
    <dt>
        <dl>
            <dt>
                Type
            </dt>
            <dd>
                
<span class="param-type"><a href="openBSE.BrowserNotSupportError.html">openBSE.BrowserNotSupportError</a></span>



            </dd>
        </dl>
    </dt>
</dl>

</li>
        
            <li>

<dl>
    <dt>
        <div class="param-desc">
        传入的参数错误时引发错误。请参阅 MDN <a href="https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Reference/Global_Objects/TypeError">TypeError</a> 。
        </div>
    </dt>
    <dt>
        <dl>
            <dt>
                Type
            </dt>
            <dd>
                
<span class="param-type">TypeError</span>



            </dd>
        </dl>
    </dt>
</dl>

</li>
        </ul>

    

    
</dd>

    
    </div>

    

    

    

    

    

    

    
        <h3 class="subsection-title">Methods</h3>

        <dl>
            
<hr>
<dt>
    <h4 class="name" id="addBulletScreen"><span class="type-signature"></span>addBulletScreen(bulletScreen)</h4>
    
    
</dt>
<dd>

    
    <div class="description">
        添加弹幕到弹幕列表。由于弹幕在屏幕上出现过后，弹幕引擎将从列表中彻底删除此弹幕。所以，在改变播放进度时，可能需要先<a href="openBSE.BulletScreenEngine.html#cleanBulletScreenList">清空弹幕列表</a>，然后重新加载此播放进度以后的弹幕。
    </div>
    

    

    

    
    
        <h5>Parameters:</h5>
        

<table class="params table table-striped">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>bulletScreen</code></td>
            

            <td class="type">
            
                
<span class="param-type"><a href="openBSE.html#~BulletScreen">openBSE~BulletScreen</a></span>



            
            </td>

            

            

            <td class="description last">单条弹幕数据：一个 <a href="openBSE.html#~BulletScreen">openBSE~BulletScreen</a> 结构。</td>
        </tr>

    
    </tbody>
</table>

    

    
<dl class="details">
    

	

	

	

    

    

    

    

	

	

	

	

	



	

	

	

	
</dl>


    

    

    

    

    
    <h5>Throws:</h5>
    
            

<dl>
    <dt>
        <div class="param-desc">
        传入的参数错误时引发错误。请参阅 MDN <a href="https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Reference/Global_Objects/TypeError">TypeError</a> 。
        </div>
    </dt>
    <dt>
        <dl>
            <dt>
                Type
            </dt>
            <dd>
                
<span class="param-type">TypeError</span>



            </dd>
        </dl>
    </dt>
</dl>


        

    

    
</dd>

        
            
<hr>
<dt>
    <h4 class="name" id="bind"><span class="type-signature"></span>bind(name, fun)</h4>
    
    
</dt>
<dd>

    
    <div class="description">
        绑定事件处理程序。当事件处理程序返回值为 false 时停止冒泡。
    </div>
    

    

    

    
    
        <h5>Parameters:</h5>
        

<table class="params table table-striped">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>name</code></td>
            

            <td class="type">
            
                
<span class="param-type">string</span>



            
            </td>

            

            

            <td class="description last">事件名称</td>
        </tr>

    

        <tr>
            
                <td class="name"><code>fun</code></td>
            

            <td class="type">
            
                
<span class="param-type">function</span>



            
            </td>

            

            

            <td class="description last">事件处理程序</td>
        </tr>

    
    </tbody>
</table>

    

    
<dl class="details">
    

	

	

	

    

    

    

    

	

	

	

	

	



	

	

	

	
</dl>


    

    

    
    <h5>Listens to Events:</h5>
    <ul>
        <li><a href="openBSE.BulletScreenEngine.html#event:click">openBSE.BulletScreenEngine#event:click</a></li>
    
        <li><a href="openBSE.BulletScreenEngine.html#event:contextmenu">openBSE.BulletScreenEngine#event:contextmenu</a></li>
    
        <li><a href="openBSE.BulletScreenEngine.html#event:mouseleave">openBSE.BulletScreenEngine#event:mouseleave</a></li>
    
        <li><a href="openBSE.BulletScreenEngine.html#event:mouseenter">openBSE.BulletScreenEngine#event:mouseenter</a></li>
    </ul>
    

    

    
    <h5>Throws:</h5>
    
            

<dl>
    <dt>
        <div class="param-desc">
        传入的参数错误或事件不存在时引发错误。请参阅 MDN <a href="https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Reference/Global_Objects/TypeError">TypeError</a> 。
        </div>
    </dt>
    <dt>
        <dl>
            <dt>
                Type
            </dt>
            <dd>
                
<span class="param-type">TypeError</span>



            </dd>
        </dl>
    </dt>
</dl>


        

    

    
</dd>

        
            
<hr>
<dt>
    <h4 class="name" id="cleanBulletScreenList"><span class="type-signature"></span>cleanBulletScreenList()</h4>
    
    
</dt>
<dd>

    
    <div class="description">
        清空弹幕列表，但屏幕上已经出现的弹幕不会被清除。
    </div>
    

    

    

    
    

    
<dl class="details">
    

	

	

	

    

    

    

    

	

	

	

	

	



	

	

	

	
</dl>


    

    

    

    

    

    

    
</dd>

        
            
<hr>
<dt>
    <h4 class="name" id="cleanScreen"><span class="type-signature"></span>cleanScreen()</h4>
    
    
</dt>
<dd>

    
    <div class="description">
        清空屏幕内容。清空屏幕上已经出现的弹幕，不包括弹幕列表中的弹幕。
    </div>
    

    

    

    
    

    
<dl class="details">
    

	

	

	

    

    

    

    

	

	

	

	

	



	

	

	

	
</dl>


    

    

    

    

    

    

    
</dd>

        
            
<hr>
<dt>
    <h4 class="name" id="getDebugInfo"><span class="type-signature"></span>getDebugInfo()</h4>
    
    
</dt>
<dd>

    
    <div class="description">
        获取调试信息。
    </div>
    

    

    

    
    

    
<dl class="details">
    

	

	

	

    

    

    

    

	

	

	

	

	



	

	

	

	
</dl>


    

    

    

    

    

    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
    - 调试信息：一个 <a href="openBSE.html#~DebugInfo">openBSE~DebugInfo</a> 结构。
</div>



<dl>
    <dt>
        Type
    </dt>
    <dd>
        
<span class="param-type"><a href="openBSE.html#~DebugInfo">openBSE~DebugInfo</a></span>



    </dd>
</dl>


        

    
</dd>

        
            
<hr>
<dt>
    <h4 class="name" id="getOptions"><span class="type-signature"></span>getOptions()</h4>
    
    
</dt>
<dd>

    
    <div class="description">
        获取全局选项
    </div>
    

    

    

    
    

    
<dl class="details">
    

	

	

	

    

    

    

    

	

	

	

	

	



	

	

	

	
</dl>


    

    

    

    

    

    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
    全局选项：一个 <a href="openBSE.html#~Options">openBSE~Options</a> 结构。
</div>



<dl>
    <dt>
        Type
    </dt>
    <dd>
        
<span class="param-type"><a href="openBSE.html#~Options">openBSE~Options</a></span>



    </dd>
</dl>


        

    
</dd>

        
            
<hr>
<dt>
    <h4 class="name" id="getPlayState"><span class="type-signature"></span>getPlayState()</h4>
    
    
</dt>
<dd>

    
    <div class="description">
        获取播放状态。
    </div>
    

    

    

    
    

    
<dl class="details">
    

	

	

	

    

    

    

    

	

	

	

	

	



	

	

	

	
</dl>


    

    

    

    

    

    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
    - 正在播放标志：true：正在播放；false：已暂停/停止播放。
</div>



<dl>
    <dt>
        Type
    </dt>
    <dd>
        
<span class="param-type">boolean</span>



    </dd>
</dl>


        

    
</dd>

        
            
<hr>
<dt>
    <h4 class="name" id="getRenderMode"><span class="type-signature"></span>getRenderMode()</h4>
    
    
</dt>
<dd>

    
    <div class="description">
        获取渲染模式。
    </div>
    

    

    

    
    

    
<dl class="details">
    

	

	

	

    

    

    

    

	

	

	

	

	



	

	

	

	
</dl>


    

    

    

    

    

    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
    - 弹幕渲染模式： 取值为“canvas”、“css3”、“webgl”或“svg”。
</div>



<dl>
    <dt>
        Type
    </dt>
    <dd>
        
<span class="param-type">string</span>



    </dd>
</dl>


        

    
</dd>

        
            
<hr>
<dt>
    <h4 class="name" id="getVisibility"><span class="type-signature"></span>getVisibility()</h4>
    
    
</dt>
<dd>

    
    <div class="description">
        获取弹幕可见性。如要显示弹幕请调用 <a href="openBSE.BulletScreenEngine.html#show">bulletScreenEngine.show();</a> ，要隐藏弹幕请调用 <a href="openBSE.BulletScreenEngine.html#hide">bulletScreenEngine.hide();</a> 。
    </div>
    

    

    

    
    

    
<dl class="details">
    

	

	

	

    

    

    

    

	

	

	

	

	



	

	

	

	
</dl>


    

    

    

    

    

    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
    - 指示弹幕是否可见。
</div>



<dl>
    <dt>
        Type
    </dt>
    <dd>
        
<span class="param-type">boolean</span>



    </dd>
</dl>


        

    
</dd>

        
            
<hr>
<dt>
    <h4 class="name" id="hide"><span class="type-signature"></span>hide()</h4>
    
    
</dt>
<dd>

    
    <div class="description">
        隐藏弹幕。
    </div>
    

    

    

    
    

    
<dl class="details">
    

	

	

	

    

    

    

    

	

	

	

	

	



	

	

	

	
</dl>


    

    

    

    

    

    

    
</dd>

        
            
<hr>
<dt>
    <h4 class="name" id="pause"><span class="type-signature"></span>pause()</h4>
    
    
</dt>
<dd>

    
    <div class="description">
        暂停播放弹幕。暂停播放弹幕是指弹幕播放暂停，所有未出现的弹幕将停止出现，已出现的弹幕停止运动，停止消失。
    </div>
    

    

    

    
    

    
<dl class="details">
    

	

	

	

    

    

    

    

	

	

	

	

	



	

	

	

	
</dl>


    

    

    

    

    

    

    
</dd>

        
            
<hr>
<dt>
    <h4 class="name" id="play"><span class="type-signature"></span>play()</h4>
    
    
</dt>
<dd>

    
    <div class="description">
        开始播放弹幕。
    </div>
    

    

    

    
    

    
<dl class="details">
    

	

	

	

    

    

    

    

	

	

	

	

	



	

	

	

	
</dl>


    

    

    

    

    

    

    
</dd>

        
            
<hr>
<dt>
    <h4 class="name" id="playAllBulletScreens"><span class="type-signature"></span>playAllBulletScreens()</h4>
    
    
</dt>
<dd>

    
    <div class="description">
        继续所有在事件响应中设置了 e.pause = true; 弹幕的播放。
    </div>
    

    

    

    
    

    
<dl class="details">
    

	

	

	

    

    

    

    

	

	

	

	

	



	

	

	

	
</dl>


    

    

    

    

    

    

    
</dd>

        
            
<hr>
<dt>
    <h4 class="name" id="setOptions"><span class="type-signature"></span>setOptions(options)</h4>
    
    
</dt>
<dd>

    
    <div class="description">
        设置全局选项
    </div>
    

    

    

    
    
        <h5>Parameters:</h5>
        

<table class="params table table-striped">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>options</code></td>
            

            <td class="type">
            
                
<span class="param-type"><a href="openBSE.html#~Options">openBSE~Options</a></span>



            
            </td>

            

            

            <td class="description last">全局选项：一个 <a href="openBSE.html#~Options">openBSE~Options</a> 结构。</td>
        </tr>

    
    </tbody>
</table>

    

    
<dl class="details">
    

	

	

	

    

    

    

    

	

	

	

	

	



	

	

	

	
</dl>


    

    

    

    

    
    <h5>Throws:</h5>
    
            

<dl>
    <dt>
        <div class="param-desc">
        传入的参数错误时引发错误。请参阅 MDN <a href="https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Reference/Global_Objects/TypeError">TypeError</a> 。
        </div>
    </dt>
    <dt>
        <dl>
            <dt>
                Type
            </dt>
            <dd>
                
<span class="param-type">TypeError</span>



            </dd>
        </dl>
    </dt>
</dl>


        

    

    
</dd>

        
            
<hr>
<dt>
    <h4 class="name" id="show"><span class="type-signature"></span>show()</h4>
    
    
</dt>
<dd>

    
    <div class="description">
        显示弹幕。
    </div>
    

    

    

    
    

    
<dl class="details">
    

	

	

	

    

    

    

    

	

	

	

	

	



	

	

	

	
</dl>


    

    

    

    

    

    

    
</dd>

        
            
<hr>
<dt>
    <h4 class="name" id="stop"><span class="type-signature"></span>stop()</h4>
    
    
</dt>
<dd>

    
    <div class="description">
        停止播放弹幕。停止播放弹幕是指停止播放弹幕，默认<a href="openBSE.html#~BulletScreenStyle">时间基准（options.clock）</a>归零，并<a href="openBSE.BulletScreenEngine.html#cleanBulletScreenList">清空弹幕列表</a>、<a href="openBSE.BulletScreenEngine.html#cleanScreen">清空屏幕内容</a>。
    </div>
    

    

    

    
    

    
<dl class="details">
    

	

	

	

    

    

    

    

	

	

	

	

	



	

	

	

	
</dl>


    

    

    

    

    

    

    
</dd>

        
            
<hr>
<dt>
    <h4 class="name" id="unbind"><span class="type-signature"></span>unbind(name, fun)</h4>
    
    
</dt>
<dd>

    
    <div class="description">
        解绑事件处理程序（fun为空解绑所有事件处理程序）
    </div>
    

    

    

    
    
        <h5>Parameters:</h5>
        

<table class="params table table-striped">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>name</code></td>
            

            <td class="type">
            
                
<span class="param-type">string</span>



            
            </td>

            

            

            <td class="description last">事件名称</td>
        </tr>

    

        <tr>
            
                <td class="name"><code>fun</code></td>
            

            <td class="type">
            
                
<span class="param-type">function</span>



            
            </td>

            

            

            <td class="description last">事件处理程序</td>
        </tr>

    
    </tbody>
</table>

    

    
<dl class="details">
    

	

	

	

    

    

    

    

	

	

	

	

	



	

	

	

	
</dl>


    

    

    

    

    
    <h5>Throws:</h5>
    
            

<dl>
    <dt>
        <div class="param-desc">
        传入的参数错误或事件不存在时引发错误。请参阅 MDN <a href="https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Reference/Global_Objects/TypeError">TypeError</a> 。
        </div>
    </dt>
    <dt>
        <dl>
            <dt>
                Type
            </dt>
            <dd>
                
<span class="param-type">TypeError</span>



            </dd>
        </dl>
    </dt>
</dl>


        

    

    
</dd>

        </dl>
    

    

    
        <h3 class="subsection-title">Events</h3>

        <dl>
            
<hr>
<dt>
    <h4 class="name" id="event:click">click</h4>
    
    
</dt>
<dd>

    
    <div class="description">
        弹幕单击事件。当单击弹幕时触发。
    </div>
    

    

    

    
    

    
<dl class="details">
    

    <h5 class="subsection-title">Properties:</h5>

    <dl>

<table class="props table table-striped">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>e</code></td>
            

            <td class="type">
            
                
<span class="param-type"><a href="openBSE.html#~BulletScreenEvent">openBSE~BulletScreenEvent</a></span>



            
            </td>

            

            

            <td class="description last">弹幕事件结构</td>
        </tr>

    
    </tbody>
</table>
</dl>

    

	

	

	

    

    

    

    

	

	

	

	

	



	

	

	

	
</dl>


    

    

    

    
    <h5>Listeners of This Event:</h5>
    <ul>
        <li><a href="openBSE.BulletScreenEngine.html#bind">openBSE.BulletScreenEngine#bind</a></li>
    </ul>
    

    

    

    
</dd>

        
            
<hr>
<dt>
    <h4 class="name" id="event:contextmenu">contextmenu</h4>
    
    
</dt>
<dd>

    
    <div class="description">
        弹幕上下文菜单事件。当触发弹幕上下文菜单时触发。
    </div>
    

    

    

    
    

    
<dl class="details">
    

    <h5 class="subsection-title">Properties:</h5>

    <dl>

<table class="props table table-striped">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>e</code></td>
            

            <td class="type">
            
                
<span class="param-type"><a href="openBSE.html#~BulletScreenEvent">openBSE~BulletScreenEvent</a></span>



            
            </td>

            

            

            <td class="description last">弹幕事件结构</td>
        </tr>

    
    </tbody>
</table>
</dl>

    

	

	

	

    

    

    

    

	

	

	

	

	



	

	

	

	
</dl>


    

    

    

    
    <h5>Listeners of This Event:</h5>
    <ul>
        <li><a href="openBSE.BulletScreenEngine.html#bind">openBSE.BulletScreenEngine#bind</a></li>
    </ul>
    

    

    

    
</dd>

        
            
<hr>
<dt>
    <h4 class="name" id="event:mouseenter">mouseenter</h4>
    
    
</dt>
<dd>

    
    <div class="description">
        弹幕鼠标进入事件。当鼠标进入弹幕时触发。
    </div>
    

    

    

    
    

    
<dl class="details">
    

    <h5 class="subsection-title">Properties:</h5>

    <dl>

<table class="props table table-striped">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>e</code></td>
            

            <td class="type">
            
                
<span class="param-type"><a href="openBSE.html#~BulletScreenEvent">openBSE~BulletScreenEvent</a></span>



            
            </td>

            

            

            <td class="description last">弹幕事件结构</td>
        </tr>

    
    </tbody>
</table>
</dl>

    

	

	

	

    

    

    

    

	

	

	

	

	



	

	

	

	
</dl>


    

    

    

    
    <h5>Listeners of This Event:</h5>
    <ul>
        <li><a href="openBSE.BulletScreenEngine.html#bind">openBSE.BulletScreenEngine#bind</a></li>
    </ul>
    

    

    

    
</dd>

        
            
<hr>
<dt>
    <h4 class="name" id="event:mouseleave">mouseleave</h4>
    
    
</dt>
<dd>

    
    <div class="description">
        弹幕鼠标离开事件。当鼠标离开弹幕时触发。
    </div>
    

    

    

    
    

    
<dl class="details">
    

    <h5 class="subsection-title">Properties:</h5>

    <dl>

<table class="props table table-striped">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>e</code></td>
            

            <td class="type">
            
                
<span class="param-type"><a href="openBSE.html#~BulletScreenEvent">openBSE~BulletScreenEvent</a></span>



            
            </td>

            

            

            <td class="description last">弹幕事件结构</td>
        </tr>

    
    </tbody>
</table>
</dl>

    

	

	

	

    

    

    

    

	

	

	

	

	



	

	

	

	
</dl>


    

    

    

    
    <h5>Listeners of This Event:</h5>
    <ul>
        <li><a href="openBSE.BulletScreenEngine.html#bind">openBSE.BulletScreenEngine#bind</a></li>
    </ul>
    

    

    

    
</dd>

        </dl>
    
</article>

</section>




		</div>
	</div>

	<div class="clearfix"></div>

	
		<div class="col-md-3">
			<div id="toc" class="col-md-3 hidden-xs hidden-sm hidden-md"></div>
		</div>
	

</div>
</div>


    <div class="modal fade" id="searchResults">
      <div class="modal-dialog">
        <div class="modal-content">
          <div class="modal-header">
            <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
            <h4 class="modal-title">Search results</h4>
          </div>
          <div class="modal-body"></div>
          <div class="modal-footer">
            <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
          </div>
        </div><!-- /.modal-content -->
      </div><!-- /.modal-dialog -->
    </div>


<footer>


<span class="jsdoc-message">
	Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a>
	
		on 2019-01-16T19:02:07+08:00
	
	using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
</span>
</footer>

<script src="scripts/docstrap.lib.js"></script>
<script src="scripts/toc.js"></script>

    <script type="text/javascript" src="scripts/fulltext-search-ui.js"></script>


<script>
$( function () {
	$( "[id*='$']" ).each( function () {
		var $this = $( this );

		$this.attr( "id", $this.attr( "id" ).replace( "$", "__" ) );
	} );

	$( ".tutorial-section pre, .readme-section pre, pre.prettyprint.source" ).each( function () {
		var $this = $( this );

		var example = $this.find( "code" );
		exampleText = example.html();
		var lang = /{@lang (.*?)}/.exec( exampleText );
		if ( lang && lang[1] ) {
			exampleText = exampleText.replace( lang[0], "" );
			example.html( exampleText );
			lang = lang[1];
		} else {
			var langClassMatch = example.parent()[0].className.match(/lang\-(\S+)/);
			lang = langClassMatch ? langClassMatch[1] : "javascript";
		}

		if ( lang ) {

			$this
			.addClass( "sunlight-highlight-" + lang )
			.addClass( "linenums" )
			.html( example.html() );

		}
	} );

	Sunlight.highlightAll( {
		lineNumbers : false,
		showMenu : true,
		enableDoclinks : true
	} );

	$.catchAnchorLinks( {
        navbarOffset: 10
	} );
	$( "#toc" ).toc( {
		anchorName  : function ( i, heading, prefix ) {
			return $( heading ).attr( "id" ) || ( prefix + i );
		},
		selectors   : "#toc-content h1,#toc-content h2,#toc-content h3,#toc-content h4",
		showAndHide : false,
		smoothScrolling: true
	} );

	$( "#main span[id^='toc']" ).addClass( "toc-shim" );
	$( '.dropdown-toggle' ).dropdown();

    $( "table" ).each( function () {
      var $this = $( this );
      $this.addClass('table');
    } );

} );
</script>



<!--Navigation and Symbol Display-->


<!--Google Analytics-->



    <script type="text/javascript">
        $(document).ready(function() {
            SearcherDisplay.init();
        });
    </script>


</body>
</html>